#ifndef __UXML_ATTRIBUTE_H__
#define __UXML_ATTRIBUTE_H__

#include "zCore.h"
#include "xNode.h"

#include <libxml/tree.h>
#include <string>

namespace ck
{
	namespace xml
	{
		class ZCORE_API Attribute : public Node
		{
		public:
			Attribute(xmlNodePtr pxNode);
			virtual ~Attribute();
		public:
			const char*		GetName();
			const char*		GetValue();
			void			SetValue(const char* value);
		private:
			std::string m_value;
			std::string m_name;
		};

	}
}

#endif //__UXML_ATTRIBUTE_H__
